/******************************************/
/* DTD Inquisitor 2                       */
/* Copyright: University of Pennsylvania  */
/* Author: Byron Choi                     */
/* Date: 9/2001                           */
/* Contact: kkchoi@gradient.cis.upenn.edu */
/******************************************/
package automata;

public class Label {
	public String elt;

	public Label(String str) {
		elt = str;
	}

	public String toString() {
		return elt;
	}

	public int hashCode() {
		return elt.hashCode();
	}

	public boolean equals(Object s) {
		return (this.hashCode() == ((Label) s).hashCode());
	}
}
